package login

import (
	"3-19yk/common/proto/user"
	"3-19yk/service/server"
	"context"
)

func (s ServerUser) EsSync(ctx context.Context, req *user.EsSyncReq) (*user.EsSyncResp, error) {
	login, err := server.EsSync(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
func (s ServerUser) EsSear(ctx context.Context, req *user.EsSearReq) (*user.EsSearResp, error) {
	login, err := server.EsSear(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
func (s ServerUser) ScenicShow(ctx context.Context, req *user.ScenicShowReq) (*user.ScenicShowResp, error) {
	login, err := server.ScenicShow(req)
	if err != nil {
		return nil, err
	}
	return login, nil
}
